package com.shop.cereshop.business.dl.logic.service;


import com.github.pagehelper.PageInfo;
import com.shop.cereshop.business.dl.logic.domain.CereShopAnnouncement;


/**
 * @author: 况鑫威
 * @Date: 2021/7/22
 * @Time: 16:13
 * @ClassName: CereShopAnnouncementService
 * @Description: com.shop.cereshop.app.dl.logic.service
 */
public interface CereShopAnnouncementService {
    int deleteByPrimaryKey(Long announcementId);

    int insert(CereShopAnnouncement record);

    int insertSelective(CereShopAnnouncement record);

    CereShopAnnouncement selectByPrimaryKey(Long announcementId);

    int updateByPrimaryKeySelective(CereShopAnnouncement record);

    int updateByPrimaryKey(CereShopAnnouncement record);

    PageInfo<?> getAnnouncements(String announcementType, Integer page, Integer row);
}
